/*
* @(#)NotificationWay.java
*
* Copyright (c) 2003 DCIVision Ltd
* All rights reserved.
*
* This software is the confidential and proprietary information of DCIVision
* Ltd ("Confidential Information").  You shall not disclose such Confidential
* Information and shall use it only in accordance with the terms of the license
* agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.framework.notification;

import com.dcivision.framework.ApplicationException;

/**
 * <p>Class Name:       NotificationWay.java    </p>
 * <p>Description:      This interface is used to setup the email message content and ready for delivery. </p>
 *
 * @author           Zoe Shum
 * @company          DCIVision Limited
 * @creation date    02/07/2003
 * @version          $Revision: 1.3.36.1 $
 */
public interface NotificationWay {
  public static final String EMAIL_NOTICICATION = "E";
  public static final String SYSTEM_NOTICICATION = "S";
  public static final String EMAIL_NOTIFICATION_INSTANCE = "com.dcivision.framework.util.notification.EmailNotification";
  public void addDeliveryMessage(DeliveryMessage message);
  public boolean send() throws ApplicationException;
}